package com.spc.pojo;

import java.io.Serializable;

public class Address implements Serializable {
    private Integer id ;
    private String address;
    private Double lng;
    private Double lat;

    public Address(Integer id, String address, Double lng, Double lat) {
        this.id = id;
        this.address = address;
        this.lng = lng;
        this.lat = lat;
    }

    public Address() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", address='" + address + '\'' +
                ", lng=" + lng +
                ", lat=" + lat +
                '}';
    }
}
